package com.sora.test;

import com.sora.api.HelloObject;
import com.sora.api.HelloService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Classname: HelloServiceImpl2
 * @Description:
 * @Author: Stonffe
 * @Date: 2023/5/17 17:10
 */
public class HelloServiceImpl2 implements HelloService {
    private static final Logger logger = LoggerFactory.getLogger(HelloServiceImpl2.class);

    @Override
    public String hello(HelloObject object) {
        logger.info("接收到消息：{}", object.getMessage());
        return "本次处理来自Socket服务";
    }
}
